//
//  CBaseTableCell.m
//  GoldOperationClient
//
//  Created by yaxue wang on 16/8/1.
//  Copyright © 2016年 展鸿科技. All rights reserved.
//

#import "CBaseTableCell.h"
#import <UIImageView+AFNetworking.h>
#import "Constants.h"
@implementation CBaseTableCell

- (void)awakeFromNib {
    // Initialization code
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self initView];
    }
    return self;
}

- (void) initView{
    self.LogoView = [[UIImageView alloc] init];
    self.lblTitle = [[UILabel alloc] init];
}
+ (float) getCellHeightByModel:(id) model{
    return 45;
}
- (void)setLogoUrl:(NSString *)logoUrl{
    [self.LogoView setImageWithURL:[NSURL URLWithString:[Constants imgWithKey:logoUrl]] placeholderImage:[UIImage imageNamed:@"Ico_Default"]];
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state
}

@end
